<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta name="keywords" content="美乐乐家具网（www.meilele.com），用户中心" />
    <meta name="description" content="网上家具商城，在线销售田园家具，韩式家具，美式家具，儿童家具，现代家具，中式家具，欧式家具，板式家具，实木家具，沙发，软床，衣柜，餐桌。" />
    <script src="js/jquery-2.1.4.js"></script>
    <title>用户中心Meilele 美乐乐家具网,网上家具商城:在线销售沙发 软床 实木床 餐桌 衣柜 韩式家具 美式家具 现代家具等</title>
    <link rel="shortcut icon" href="http://image.meilele.com/favicon.ico" />
    <link rel="icon" href="http://image.meilele.com/favicon.ico" />
    <link rel="stylesheet" href="http://image.meilele.com/css/mll.common.new.min.css?v0830" />    <link rel="stylesheet" href="http://image.meilele.com/themes/paipai/css/user3.min.css?160603" />
    <script src="http://image.meilele.com/js/mll/common.min.js?160325"></script>
    <script>window.M = window.M || {};M.__IMG = 'http://image.meilele.com';if(window.$ && window.$.addToCart)M.addToCart = $.addToCart</script>
    <script>if(/ipad_from=1/.test(location.search+location.hash+document.cookie)||window._ipad_from){window._ipad_from=true;window.__notAd=1;window._not_back_to_top=true;}window.getCookie=function(a){var e;if(document.cookie&&document.cookie!==""){var d=document.cookie.split(";");var f=d.length;for(var c=0;c<f;c++){var b=d[c].replace(/(^\s*)|(\s*$)/g,"");if(b.substring(0,a.length+1)==(a+"=")){e=decodeURIComponent(b.substring(a.length+1));break;}}}return e;};window.setCookie=function(a,e,d,c,g){d=d||365;g=g||"/";var b=location.host.split(".");if(b.length==3){b.shift();}c=c?";domain="+c:(";domain=."+(b.join(".")));var f=new Date();f.setTime(f.getTime()+parseInt(d,10)*24*60*60*1000);document.cookie=a+"="+encodeURIComponent(e)+(d=="session"?"":";expires="+f.toGMTString())+c+";path="+g;};(function(){if(window.__notAd){return;}var c=document.createElement("script");c.type="text/javascript";c.async=true;var b=document.getElementsByTagName("script")[0];var a=new Date();c.src="http://image.meilele.com/js/recad.min.js?"+a.getFullYear()+a.getMonth()+a.getDate();b.parentNode.insertBefore(c,b);})();window._gaq=window._gaq||[];window.MLLgaq=window.MLLgaq||[];window._onReadyList=window._onReadyList||[];window._ana=window._ana||[];_ana.baseTime=_ana.baseTime;_gaq.push(["_setAccount","UA-10173353-1"]);_gaq.push(["_setDomainName","meilele.com"]);(function(i){if(getCookie("MLL_CID")){_gaq.push(["_setCustomVar",1,"CID",getCookie("MLL_CID"),2]);}var l=(location.search+"").replace("?","").split("&");var g={};for(var b=0,a=l.length;b<a;b++){var j=l[b].split("=");g[j[0]]=j[1];}var h=((location.hash+"").replace("#","")).split("#")[0].split("&");for(var b=0,a=h.length;b<a;b++){var j=h[b].split("=");h[j[0]]=j[1];}var f="";if(location.pathname.indexOf("/category-9999/")>=0&&g.keywords){f=g.keywords;}else{if(h.kw||g.kw){f=h.kw||g.kw;}}try{f=decodeURIComponent(f);}catch(c){}if(f&&window._ana){_ana.push(["trackEvent","siteSearch",f]);}})(window);(function(){if(window._IS_GET_TAG){return;}window._IS_GET_TAG=true;var b="utag";var a=18;if(/^\/article/i.test(location.pathname)){b="atag";}window._onReadyList=window._onReadyList||[];_onReadyList.push(function(){$.ajax({url:"/java_api/jmll/tag/getTag.do?u="+encodeURIComponent(location.pathname),cache:true,dataType:"json",success:function(o){var e=$.cookie(b)||"";var n=o||{};var h={},i=[],c=[],j=[];var m=function(k){k=k-0;k="00"+k.toString(36);return k.substr(k.length-2,2);};e=e.split("*");for(var g=0,d=e.length;g<d;g++){if(e[g]&&e[g].length==5){var l=e[g].substr(0,3);var f=parseInt(e[g].substr(3,2),36);h[l]={key:l,number:f};i.push(h[l]);}}for(var g in n){if(h[g]){h[g].number+=n[g];}else{h[g]={key:g,number:n[g]};}h[g].thisPage=true;c.push(h[g]);}c.sort(function(p,k){return k.number-p.number;});for(g=0,d=c.length;g<d;g++){j.push(c[g].key+m(c[g].number));}for(g=0,d=i.length;g<d;g++){if(!i[g].thisPage){j.push(i[g].key+m(i[g].number));}}if(j.length>a){j.length=a;}$.cookie(b,j.join("*"),{expires:90,domain:".meilele.com",path:"/"});window._SITETAGS={tags:h,thisPageTag:n};if(window._SITETAGSCALLBACK){_SITETAGSCALLBACK(_SITETAGS);}}});});})();(function(){if(!window.getCookie("MLL_CID")||!window.getCookie("MA_si")){new Image().src="/_b.gif?_="+new Date().getTime().toString(36);}var b=parseInt(window.getCookie("_SC_"))||0,a=parseInt(window.getCookie("_SD_"))||0;if(!window.getCookie("_SC_")){new Image().src="/_c.gif?_="+new Date().getTime().toString(36);}else{!a&&window.setCookie("_SC_",b+1,3650,".meilele.com");}window.setCookie("_SD_",a+1,"session",".meilele.com");})();
    /*leihao:2017-09-13 16:05:35*//*laidezhong:2014-12-02 19:44:58*/</script>    <style>
    .fkcaptcha {
        margin-left: 6px;
        cursor: pointer;
        background: url('http://img001.mllres.com/themes/paipai/images/user/loading.gif') center center no-repeat;
    }
    .regist_title{
        position: relative;
        top: 20px;
        left: 18px;
        font-size: 24px;
        color: #333;
        font-family: '微软雅黑';
    }
</style>
    <script>
        window.__redirectUrl = '';
        (function () {
            var backurl = (location.search + "").replace("?", "").split('&');
            for (var i = 0; i < backurl.length; i++) {
                var tmp = (backurl[i] + "").split("=");
                if (tmp[0].toLowerCase() == 'redirect_url') {
                    __redirectUrl = tmp[1];
                    __redirectUrl = __redirectUrl.replace("'", "").replace('"', "");
                    __redirectUrl = decodeURIComponent(__redirectUrl);
                    break;
                }
            }
        })();
    </script>
</head>

<body class="root_body">
<div id="" class="user_all w" style="position:relative;">
    <div id="" class="user_header clearfix" style="padding:30px 0px;">
        <div class="logo Left" style="background: url(http://image.meilele.com/images/flow2.png) 0 0 no-repeat;width:160px;height:52px">
            <a href="/" title="返回美乐乐首页">
                <img style="background:none" src="http://image.meilele.com/images/blank.gif" width="160" height="52" border="0" alt="美乐乐">
            </a>
        </div>
        <div class="Left">
            <p class="regist_title">用户注册</p>
        </div>
        <div id="" class="nav Right">
            <a href="/">返回首页</a>
            |
            <a href="/article_cat-4/article-656.html" target="_blank">帮助中心</a>
        </div>
    </div>
    <div id="" class="user_content clearfix type_register">
        <div id="" class="user_login Left">
            <form id="JS_register_form" action="shiro/regirect" method="post" onsubmit="return recheck()">
                <script>
                    function yanzhengma() {
                        $("#register_captcha_e img").removeAttr("src");
                        $("#register_captcha_e img").attr("src","fiveApplication/show?data=" + new Date() + Math.floor(Math.random()*24))
                    }
                    function check() {
                        var aa=$("#captcha").val();
                        $.post("shiro/checkYZM",{"yanZM":aa},function (data) {
                            if(data=='success'){
                                return true;
                            }else{
                                alert("验证码错误")
                                return false;
                            }
                        })
                    }
                </script>


                <div  class="register_box">
                    <p>
                        <label class="tips"><span class="red">*</span>帐户名：</label>
                        <input type="text" title="请输入正确的用户名"  name="username" class="register_input" id="register_username" autocomplete="off" tabindex="10"><span id="register_username_s" class="success" style="display:none;"></span>
                    </p>
                    <div id="register_username_a" class="error" style="top:-22px;padding:5px;line-height:15px;height:30px;width:255px; text-indent:0;margin-top:-20px"></div>
                    <p>
                        <label class="tips"><span class="red">*</span>设置密码：</label>
                        <input type="password" name="password"  class="register_input" autocomplete="off" id="register_password" tabindex="11"><span id="register_pw_s" class="success" style="display:none;"></span>
                    </p>
                    <div id="register_password_a" class="error" style="top:-22px;padding:5px;line-height:15px;height:30px;width:255px; text-indent:0;margin-top:-20px"></div>
                    <p>
                        <label class="tips"><span class="red">*</span>确认密码：</label>
                        <input type="password" name="confirm_password"  class="register_input" id="register_confirm_password" tabindex="12"><span id="register_rpw_s" class="success" style="display:none;"></span>
                    </p>
                    <div id="register_confirm_password_a" class="error" style="top:-22px;padding:5px;line-height:30px;height:30px;width:255px; text-indent:0;margin-top:-20px"></div>
                    <p>
                        <label class="tips"><span class="red">*</span>手机号码：</label>
                        <input type="text" name="userTel" autocomplete="off" class="register_input" id="register_mobile" tabindex="13"><span id="register_mobile_s" class="success" style="display:none;"></span>
                    </p>
                    <div id="register_mobile_a" class="error" style="top:-22px;padding:5px;line-height:30px;height:30px;width:255px; text-indent:0;margin-top:-20px"></div>
                    <p id="register_captcha_e">
                        <label class="tips"><span class="red">*</span>验证码：</label>
                        <input type="text" name="verification_code"onchange="check()" id="captcha"<%--class="register_input" id="register_captcha"--%> tabindex="14" maxlength="4">
                        <img src="fiveApplication/show" width="61" height="27" border="0" alt="" id="JS_captcha" style="cursor:pointer">
                        <a class="change-one" href="javascript:void(0);" id="JS_captcha_tip" tabindex="15" onclick="yanzhengma()">换一张</a>
                        <span id="register_ver_s" class="success" style="display:none;"></span>

                    </p>
                    <div id="register_captcha_a" class="error"></div>
                    <%--<p id="sms_captcha_e" style="display: none">
                        <label class="tips"><span class="red">*</span>短信验证码：</label>
                        <input type="test" name="sms_code" class="register_input" id="sms_captcha" tabindex="16">
                        <span id="sms_captcha_s" class="success" style="display:none;" maxlength="6"></span>
                        <span id="send_sms_captcha_wait" class="sms_captcha_wait_span"></span>
                        <a href="javascript:;" id="send_sms_captcha_a" class="get_sms_captcha_btn" onclick="UR.getSmsCaptcha();return false;">获取短信验证码</a>
                        <span id="sms_capteha_send" class="gray" style="display:none">&ensp;验证码已发送，请查收短信。</span>
                    </p>
                    --%>
                    <div id="sms_captcha_s_a" class="error" style="display: none;top:-22px;padding:5px;line-height:30px;height:30px;width:255px; text-indent:0;margin-top:-20px"></div>
                    <p class="readed gray">
                        <input type="checkbox" id="sms_checked_look" checked></input><label>请阅读《<a href="/article_cat-15/article-300.html" target="_blank" class="blue" tabindex="17">美乐乐用户注册协议</a>》</label>
                    </p>
                    <div id="register_submit0" class="operate" style="padding-left:100px;">
                        <input type="submit" class="regi_btn white f16 yahei clearfix" id="JS_register" tabindex="18" value="注册"></input>
                    </div>

                </div>
            </form>
        </div>
        <div id="" class="user_register Right" style="color:#555;">
            <div class="user_ok_register">
                <span>已注册？</span><a href="/user/?act=login" onclick="addRedirect(this);" class="logintoreg users_submit users_submit2 white yahei" style="color:#fff!important;font-size: 14px;">登录</a>
            </div>

            <div class="login_api">
                <div class="img_login2" style="position: relative;">
                    <img src="http://img004.mllres.com/themes/paipai/images/blank.gif" style="width: 120px;height: 120px;" id="JS_img_ewm">
                    <div id="JS_fixed_login_mc" style="width: 120px;height: 120px;position: absolute;top:89px;left:50px;background-color: rgba(0,0,0,.5);display: none;">
                        <p style="width: 48px;height: 48px;background: url(http://image.meilele.com/themes/paipai/images/allPuzzle.png) no-repeat;background-position: -123px -53px;position: absolute;top:36px;left:36px;"></p>
                    </div>
                    <p style="position: relative;top: 20px;font-size: 14px;line-height: 14px;color: #333;">微信扫一扫，快速登录</p>
                </div>
                <div class="share_login">
                    <span class="api_tips">使用合作账号登录：</span>
                    <br />
                    <span class="api_from">
                            <a href="/dubbo_api/user/login/thirdLogin/QQ" onclick="setWindowName('QQ',this);" class="qq" tabindex="9"></a>
                            <a href="/dubbo_api/user/login/thirdLogin/WEIBO" onclick="setWindowName('新浪微博',this);" class="sina" tabindex="9"></a>
                        <!-- <a href="javascript:;" class="weixin" tabindex="9"></a> -->
                            <a href="/dubbo_api/user/login/thirdLogin/ALIPAY" onclick="setWindowName('支付宝',this);" class="alipay" tabindex="9"></a>
                        <!-- <a href="/dubbo_api/user/login/thirdLogin/TAOBAO" onclick="setWindowName('淘宝',this);" class="taobao" tabindex="9"></a> -->
                        </span>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="footer-box">

    <div class="footer">
        <div class="footer-icon">
            <div class="w">
                <a href="/topic/article_diyipinpai.html#tab=o2o" target="_blank" title="网商+体验馆" rel="nofollow" class="icon-map"><p class="icon-bg i1"></p><p class="icon-title">网商+体验馆</p></a><a href="/topic/article_diyipinpai.html#tab=bso" target="_blank" title="100%正品" rel="nofollow" class="icon-map"><p class="icon-bg i3"></p><p class="icon-title">100%正品</p></a><a href="/topic/article_diyipinpai.html#tab=quality" target="_blank" title="双重质检" rel="nofollow" class="icon-map"><p class="icon-bg i4"></p><p class="icon-title">双重质检</p></a><a href="/topic/article_diyipinpai.html#tab=purchase" target="_blank" title="全球化采购" rel="nofollow" class="icon-map"><p class="icon-bg i5"></p><p class="icon-title">全球化采购</p></a><a href="/topic/article_diyipinpai.html#tab=returns" target="_blank" title="无理由退货" rel="nofollow" class="icon-map"><p class="icon-bg i6"></p><p class="icon-title">无理由退货</p></a><a href="/topic/article_diyipinpai.html#tab=postage" target="_blank" title="贵就赔" rel="nofollow" class="icon-map"><p class="icon-bg i7"></p><p class="icon-title">贵就赔</p></a><a href="/topic/article_diyipinpai.html#tab=mouth" target="_blank" title="万千口碑" rel="nofollow" class="icon-map"><p class="icon-bg i8"></p><p class="icon-title">万千口碑</p></a>
            </div>
        </div>
    </div>

    <div class="footer-copy">
        <div class="link-container">
            <div class="w">
                <div class="copy-index clearfix" style="padding-top:0">
                    <div class="fl">
                        <p>
                            <a href="http://zx.meilele.com/albums/" target="_blank" title="装修效果图">装修效果图</a> | <a href="http://www.meilele.com/list/" target="_blank" title="家具图片">家具图片</a> | <a href="/article/" target="_blank" title="家居资讯">家居资讯</a> | <a href="/baike/" target="_blank" title="生活百科">生活百科</a> | <a href="/article_cat-1/" target="_blank" title="家私导购">家私导购</a> | <a href="/brand/" target="_blank" title="品牌展厅">品牌展厅</a> | <a href="http://club.meilele.com" target="_blank" title="装修论坛">装修论坛</a> | <a href="http://www.melodyhome.com/" target="_blank" title="furniture store">furniture store</a> | <a href="/article_cat-4/article-656.html" target="_blank" title="客服中心" rel="nofollow">客服中心</a> | <a href="/sitesmap.html" target="_blank" title="网站地图">网站地图</a> | <a href="/links.html" target="_blank" title="友情链接" rel="nofollow">友情链接</a> | <a href="/keywords/" target="_blank" title="更多">更多</a>
                        </p>
                        <p>
                            <span class="yen">&copy; 2005-2016 </span><span id="JS_footer_copyright">美乐乐</span> 版权所有，并保留所有权利。<a href="http://www.miibeian.gov.cn/" target="_blank" class="gray" rel="nofollow">ICP备案证书号：粤ICP备08008334号</a>
                        </p>
                    </div>
                    <div class="fr credit">
                        <a id='___szfw_logo___' href='https://credit.szfw.org/CX08282017016325280438.html' target='_blank'><span class="spec"><i class="c1"></i>诚信网站</span></a>
                        <a target="_blank" href="https://search.szfw.org/cert/l/CX20141121005615005700"><span><i class="c1"></i>诚信网站示范企业</span></a>
                        <a target="_blank" href="https://ss.knet.cn/verifyseal.dll?sn=e12042051010018574308175&ct=df"><span><i class="c2"></i>可信网站信用评价</span></a>
                        <span><i class="c3"></i>经营网站备案信息</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>




</body>
</html>

<script src="http://image.meilele.com/js/mll/jq.js?0419"></script>

<script type='text/javascript'>(function(){document.getElementById('___szfw_logo___').oncontextmenu = function(){return false;}})();</script>
<script type="text/javascript" src="http://image.meilele.com/js/mll/regist.min.js?160608"></script>
<script type="text/javascript">
    window.CAPTCHA_CHCEKED = false; // 验证码验证是否通过

    (function () {
        var advice_icon = $('#register_ver_s'),
            errorElem = $('#register_captcha_a');

        $.checkCaptcha($('#register_captcha'), {
            success: function () {
                $('#register_captcha').removeClass('users_input_error');
                advice_icon.removeClass('to_error');
                advice_icon.css('display', 'inline-block');
                window.CAPTCHA_CHCEKED = true;
            },
            error: function () {
               /* errorElem.addClass('error2');
                advice_icon.addClass('to_error')
                advice_icon.css('display', 'inline-block');
                window.CAPTCHA_CHCEKED = false;*/
            }
        });
    })();
    window.onload=function(){
        clickfun();
        jQuery('#JS_captcha').trigger('click');
        jQuery('#register_captcha').blur();
        jQuery('#register_ver_s').hide();
    }
    function clickfun(){
        //监听更改图片验证码点击事件
        $('#JS_captcha,#JS_captcha_tip').click(function () {
            UR.changeCaptcha($(''), true);
        });

    }
    (function ($) {
       /* //初始化图形验证码
        $.getCaptcha($(''));
        //注册按钮添加监听事件*/
        /*$('#JS_register').click(function () {
            /!*
             * username {obj} 用户名tip对象
             * password {obj} 密码tip对象
             * confirm_password {obj} 确认密码tip对象
             * captcha {obj} 图形验证码tip对象
             * state {boolean} 验证通过状态
             *!/
            var username = $('#register_username_a'),
                password = $('#register_password_a'),
                mobile_num = $('#register_mobile_a'),
                confirm_password = $('#register_confirm_password_a'),
                captcha = $(''),
                sms_captcha = $('#sms_captcha');
            state = true;

            if ($('#register_username').val() == "") {
                $('#register_username').addClass('users_input_error');
                username.text("用户名可使用字母、汉字、数字、下划线或其组合，4～20个字符，且不能为纯数字").addClass('error error2').css('visibility', 'visible');
                state = false;
            }
            if ($('#register_password').val() == "") {
                $('#register_password').addClass('users_input_error');
                password.text("6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号").addClass('error error2').css('visibility', 'visible');
                state = false;
            }
            if ($('#register_confirm_password').val() == "" || $('#register_password').val() != $('#register_confirm_password').val()) {
                $('#register_confirm_password').addClass('users_input_error');
                confirm_password.text("两次输入的密码不一致").addClass('error error2').css('visibility', 'visible');
                state = false;
            }
            if ($('#register_mobile').val() != "") {
                if ($('#sms_captcha').val() == "") {
                    state = false;
                }
                if($('#sms_captcha_s_a').css('visibility') == 'visible' ) {
                    state = false;
                }
            }else{
                $('#register_mobile').addClass('users_input_error');
                mobile_num.text("请输入手机号码").addClass('error error2').css('visibility', 'visible');
                state = false;
            }

            if (sms_captcha.val() == "") {
                state = false;
                $('#sms_captcha_e').show();
                $('#sms_captcha').addClass('users_input_error');
                $('#sms_captcha_s_a').addClass('error error2').html('请填写短信验证码').css('visibility','visible').show();
            }

            if ( $('#sms_checked_look').prop("checked") == false ) {
                state = false;
                $.alert('请阅读《美乐乐用户注册协议》');
            }

            if ($('.wrong').length) {
                return
            }
            if (CAPTCHA_CHCEKED && state) {
                UR.formSubmit();
            }

        });*/

        //用户名验证
        new Check({
            required: true,
            elem: $('#register_username'), //target对象
            errorElem: $('#register_username_a'), //target错误tip
            successElem: $('#register_username_s'), //target通过tip
            defaultTip: '用户名可使用字母、汉字、数字、下划线或其组合，4～20个字符，且不能为纯数字', //初始化信息
            firstFocus: 1, //是否默认获取焦点
            minLength: 4, //最小length
            maxLength: 20, //最大length
            lengthError: '用户名可使用字母、汉字、数字、下划线或其组合，4～20个字符，且不能为纯数字', //长度错误tip
            pattent: /^[\u4e00-\u9fa5\w]+$/i, //验证正则
            ruleError: '用户名可使用字母、汉字、数字、下划线或其组合，4～20个字符，且不能为纯数字', //正则验证错误tip
            extendPattent: /^\d+$/, //辅助正则验证
            extendError: '用户名可使用字母、汉字、数字、下划线或其组合，4～20个字符，且不能为纯数字', //辅助正则验证错误tip
            extentRepOppose: true,
            checkOnline: true, //是否有ajax oninput验证
            ajaxUrl: '/dubbo_api/user/register/checkUserName', //ajax请求地址
            keyName: 'user_name'
        });

        //密码验证
        new Check({
            required: true,
            elem: $('#register_password'),
            errorElem: $('#register_password_a'),
            successElem: $('#register_pw_s'),
            defaultTip: '6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号',
            minLength: 6,
            maxLength: 20,
            lengthError: '6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号',
            pattent: /^[^\u4e00-\u9fa5\s]{1,}$/i,
            ruleError: '6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号',
            extendPattent: /^(([a-zA-Z]+)|([\d]+)|([\W_]+))$/i,
            extendError: '6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号',
            extentRepOppose: true,
            otherPattent: /(.)(\1){2}/,
            otherError: '密码不能是连续3个以上的相同字符',
            otherRepOppose: true,
            eventType: 'keyup',
            eventFunction: function () {
                var param = {
                    elem: $('#register_password'),
                    errorElem: $('#register_password_a'),
                    msg: '6-20位，支持字母、数字或符号的组合，不可单独使用字母、数字或符号'
                };
                AuthPasswd(this.value, param);
                $('#register_password_a').css({visibility:'visible'});
            },
            keyName: 'password'
        });

        //确认密码验证
        new Check({
            required: true,
            elem: $('#register_confirm_password'),
            errorElem: $('#register_confirm_password_a'),
            successElem: $('#register_rpw_s'),
            defaultTip: '请确保两次输入的密码一致',
            ruleError: '两次输入的密码不一致',
            pwElem: $('#register_password'),
            checkPassword: true,
            checkKey: 'confirm_password'
        });

        //手机验证
        new Check({
            elem: $('#register_mobile'),
            errorElem: $('#register_mobile_a'),
            successElem: $('#register_mobile_s'),
            defaultTip: '请输入手机号码',
            minLength: 11,
            maxLength: 11,
            lengthError: '请输入正确的手机号码',
            pattent: /^1\d{10}$/,
            ruleError: '请输入正确的手机号码',
            eventType: 'keyup',
            checkOnline: true,
            ajaxUrl: '/dubbo_api/user/register/checkMobile', //ajax请求地址
            keyName: 'mobile_phone',
            eventFunction: function () {
                if(/^1\d{10}$/.test(this.value)){
                    $('#sms_captcha_s_a').css('display','');
                    $('#sms_captcha_e').show()
                } else {
                    $('#sms_captcha_e').hide()
                    $('#sms_captcha_s_a').css('display','none');
                }
            },
            blurFunction: function () {
                //手机号为空，清空验证码，刷新图形验证码，隐藏success
                if($('#register_mobile').val().length == 0) {
                    $('#register_captcha').val("")
                    $('#register_ver_s').css('display','none')
                    $.getCaptcha($('#JS_captcha'));
                }
            }
        });

        /*//短信验证码验证
        new Check({
            elem: $('#sms_captcha'),
            errorElem: $('#sms_captcha_s_a'),
            successElem: $('#sms_captcha_s'),
            defaultTip: '短信验证码错误',
            minLength: 6,
            maxLength: 6,
            lengthError: '短信验证码错误',
            checkOnline: true,
            ajaxUrl: '/dubbo_api/user/register/checkSmsCode',
            extraData: function () {
                return '&captcha_type=register&mobile_phone=' + $('#register_mobile').val();
            },
            keyName: 'sms_code'
        });*/

    })(jQuery);

    /*var img = new Image();
    if (!/ECS_ID\=/.test(document.cookie) || /autoLogin\=/.test(document.cookie)) img.src = '/fiveApplication/show/?_=' + (new Date()).getTime();
*/</script>
